Skip to main content
GET
Get collection payment plan

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

id
string
required

Payment plan ID.

Example:

"cpln_5dQ3W1hpbM1yXv"

customer_id
string
required

ID of the customer who pays the plan.

Example:

"cus_Typ0px2W0aiEtl"

case_id
string | null
required

ID of the case the plan was proposed on.

Example:

"ccs_3GeHvsTaFsPgMf"

status
enum<string>
required

Status of the plan.

Available options:
proposed,
active,
completed,
defaulted,
cancelled
total_amount
string
required

Total of the installments in major units, as a decimal string.

Pattern: ^\d+(\.\d+)?$
Example:

"1250.00"

currency
enum<string>
required

Currency of the plan.

Available options:
EUR,
AED,
AFN,
XCD,
ALL,
AMD,
AOA,
ARS,
USD,
AUD,
AWG,
AZN,
BAM,
BBD,
BDT,
BGN,
BHD,
BIF,
XOF,
BMD,
BND,
BOB,
BRL,
BSD,
BTN,
NOK,
BWP,
BYR,
BZD,
CAD,
CDF,
XAF,
CHF,
NZD,
CLP,
CNY,
COP,
CRC,
CUP,
CVE,
ANG,
CZK,
DJF,
DKK,
DOP,
DZD,
EGP,
MAD,
ERN,
ETB,
FJD,
FKP,
GBP,
GEL,
GHS,
GIP,
GMD,
GNF,
GTQ,
GYD,
HKD,
HNL,
HRK,
HTG,
HUF,
IDR,
ILS,
INR,
IQD,
IRR,
ISK,
JMD,
JOD,
JPY,
KES,
KGS,
KHR,
KMF,
KPW,
KRW,
KWD,
KYD,
KZT,
LAK,
LBP,
LKR,
LRD,
LSL,
LYD,
MDL,
MGA,
MKD,
MMK,
MNT,
MOP,
MRO,
MUR,
MVR,
MWK,
MXN,
MYR,
MZN,
NAD,
XPF,
NGN,
NIO,
NPR,
OMR,
PAB,
PEN,
PGK,
PHP,
PKR,
PLN,
PYG,
QAR,
RON,
RSD,
RUB,
RWF,
SAR,
SBD,
SCR,
SDG,
SEK,
SGD,
SHP,
SLL,
SOS,
SRD,
SSP,
STD,
SYP,
SZL,
THB,
TJS,
TMT,
TND,
TOP,
TRY,
TTD,
TWD,
TZS,
UAH,
UGX,
UYU,
UZS,
VEF,
VND,
VUV,
WST,
YER,
ZAR,
ZMW,
ZWL
Example:

"EUR"

payment_method_id
string | null
required

ID of the saved payment method the installments are debited from. null when the customer pays each installment.

approved_by_user_id
string | null
required

ID of the user who approved the plan.

Example:

"usr_8eKnRm5bWdVQk3"

accepted_at
string<date-time> | null
required

Date the customer accepted the plan.

Example:

"2024-12-20T16:04:11Z"

installments
object[]
required

Installments of the plan, in date order.

created_at
string<date-time>
required

Creation date.

Example:

"2024-12-20T16:04:11Z"

updated_at
string<date-time>
required

Last update date.

Example:

"2024-12-20T16:04:11Z"